<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class UartInfo extends Model
{
    protected $table = 't_uart_info';
    
   protected $primaryKey = 't_uart_id';
    
    // protected $guarded = ['isAdd'];
    protected $fillable = ['t_uart_id', 't_uart_buad', 't_uart_stop_bit', 't_uart_data_bit', 't_uart_check_bit'];
    
    public $timestamps = false;

    protected $casts = [
        't_uart_buad' => 'string',
        't_uart_stop_bit' => 'string',
        't_uart_data_bit' => 'string',
        't_uart_check_bit' => 'string',
    ];
}
